export default [
  {
    path: '/home',
    component: () => import(/* webpackChunkName: 'home' */ '@/views/Home.vue'),
  },
  {
    path: "/publish",
    name: 'publish',
    component: () => import(/* webpackChunkName: 'article' */ "@/views/manager/infoPublish.vue"),
    meta: {
      needLogin: true,
    },
  },
  {
    path: '*',
    component: () => import(/* webpackChunkName: 'home' */ '@/views/404.vue'),
  },
  {
    path: '/manager',
    component: () => import(/* webpackChunkName: 'manager' */ '@/views/manager/index.vue'),
    meta: { 
      needLogin: true,
    }
  },
];
